<ion-view view-title="限时拍卖" class="nineActivity">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<ion-content scroll="false" class="bg">
		<!--轮播图-->
		<ion-slide-box does-continue="true" auto-play="true" delegate-handle="advs-handle" id="advsBox">
			<ion-slide ng-repeat="img in banners">
				<img src="{{img.image_id}}" width="100%" >
			</ion-slide>
		</ion-slide-box>
		
		<div class="row top">
			<div class="col" on-tap="activeSlide(0)" ng-class="selectIndex==0?'top-activated':''">
				进行中
			</div>
			<div class="col" on-tap="activeSlide(1)" ng-class="selectIndex==1?'top-activated':''">
				即将开始
			</div>
		</div>
		
		
		<ion-slide-box delegate-handle="tab-handle" on-touch="onTouch()" on-release="onRelease()" draw-slide="false" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false" >
		<!--进行中-->
		<ion-slide>
			<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
				
				<!--没有数据firstHide-->
				<div class="noData" ng-if="datasArr[0].act==null||datasArr[0].act.length==0">
					<img src="./img/guilin/other/icon_noComment@2x.png" />
					<div class="tip">没有进行中的限时拍卖活动哦！</div>
				</div>
				
				<div class="list smallList">
					<li class="item item-thumbnail-left" ng-repeat="act in datasArr[0].act" on-tap="onshow_detail(act.act_id,act.goods_id,act.product_id)">
						<img src="{{act.image[0].image||noImg}}" class="goodsImg"/>
						<div class="goodsItem">
							<p class="goodsTitle ellipsis-2">{{act.act_name}}</p>
							<div class="bottomDiv">
								<p class="price">
									<span class="fh">￥</span>{{act.last_price | currency:''}}<!--last_price-->
									<span class="num">{{act.log_count}}人已拍</span>
								</p>
								<p class="storeName" on-tap="go_store(act.store_id,$event)">
									<img src="./img/guilin/common/icon_shop@2x.png" class="storeImg" />
									{{act.store_name}}
									<img src="./img/guilin/common/icon_right@2x.png" class="jt" />
								</p>
								<p class="time">
									<img src="./img/guilin/other/icon_nz@2x.png" class="storeImg" />
									{{act.formate_time}}
								</p>
							<div>
						</div>
					</li>
				</div>
				<!--描述：当用户到达页脚或页脚附近时-->
				<ion-infinite-scroll ng-if="!isLoad&&datasArr[0].page.tPage>datasArr[0].page.cPage" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-scroll>
		</ion-slide>
		
		<!--即将开始-->	
		<ion-slide>
			<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
				<!--描述：下拉刷新-->
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
				<!--没有数据firstHide-->
					<div class="noData" ng-if="datasArr[1].act==null||datasArr[1].act.length==0">
						<img src="./img/guilin/other/icon_noComment@2x.png" />
						<div class="tip">没有即将开始的限时抢购活动哦！</div>
					</div>
					
					<div class="list">
						<li class="item item-thumbnail-left" ng-repeat="act in datasArr[1].act" on-tap="onshow_detail(act.act_id,act.goods_id,act.product_id)">
							<img src="{{act.image[0].image||noImg}}" class="goodsImg"/>
							<div class="goodsItem">
								<p class="goodsTitle ellipsis-2">{{act.act_name}}</p>
								<div class="bottomDiv">
									<p class="price"><span class="fh">￥</span>{{act.last_price | currency:''}}</p>
									<p class="storeName" on-tap="go_store(act.store_id,$event)">
										<img src="./img/guilin/common/icon_shop@2x.png" class="storeImg" />
										{{act.store_name}}
										<img src="./img/guilin/common/icon_right@2x.png" class="jt" />
									</p>
									<p class="time">
										<img src="./img/guilin/other/icon_nz@2x.png" class="storeImg" />
										{{act.formate_time}}
									</p>
								<div>
							</div>
						</li>
					</div>
				<!--描述：当用户到达页脚或页脚附近时-->
				<ion-infinite-scroll ng-if="!isLoad&&datasArr[1].page.tPage>datasArr[1].page.cPage" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-scroll>
		</ion-slide>
		
	</ion-slide-box>
	</ion-content>
</ion-view>